<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /*
               Object.isSealed 判断一个对象是否是密封的（seal ）
            */
      let obj = {};
      console.log(Object.isSealed(obj)); // false
      let obj2 = {};
      Object.seal(obj2);
      console.log(Object.isSealed(obj2)); // true
    </script>
  </body>
</html>
